package com.test.qpbgboot.backend.mapper;

import com.test.qpbgboot.backend.pojo.dto.MerchantQuery;
import com.test.qpbgboot.backend.pojo.entity.Merchant;
import com.test.qpbgboot.backend.pojo.vo.MerchantVO;

import java.math.BigDecimal;
import java.util.List;

public interface MerchantMapper {
    List<MerchantVO> selectMerchantVObyMerchantQuery(MerchantQuery merchantQuery);
    BigDecimal selectAccountBalanceById(Long id);
    Integer selectEnableById(Long id);
    void insert(Merchant merchant);
    void update(Merchant merchant);
    void changeStatus(Merchant merchant);
    void changeBalance(Merchant merchant);
    void deleteById(Long id);
}
